<a class="btn btn-warning btn-xs ng-disabled="state.last.Status == 'error'" ng-href="{{action('close')}}">Close</a>